package com.groupseven.backend.domain.Patent;

import java.util.Date;

public class Patent {
//    @NotBlank(message = "专利成果编号不能为空！")
//    @Length(min = 1, max = 20, message = "长度要在2到20之间")
    public String PatentNumber;//专利成果编号

//    @NotBlank(message = "专利名不能为空！")
//    @Length(min = 1, max = 20, message = "长度要在2到20之间")
    public String PatentName;//专利名

//    @NotBlank(message = "专利类型不能为空！")
//    @Length(min = 1, max = 20, message = "长度要在2到20之间")
    public String PatentType;//专利类型（字典控制）

//    @NotBlank(message = "专利范围不能为空！")
    public String PatentScope;//专利范围（字典控制）

//    @NotBlank(message = "专利状态不能为空！")
    public String PatentStatus;//专利状态（字典控制）

//    @NotBlank(message = "专利所属单位不能为空！")
//    @Length(min = 1, max = 20, message = "长度要在2到20之间")
    public String PatentAttribution;//专利所属单位

    public Date AskTime;//申请时间(新增专利成果时间)//自动生成

//    @NotBlank(message = "申请编号不能为空！")
//    @Length(min = 1, max = 20, message = "长度要在2到20之间")
    public String AskNumber;//申请编号

    public int ApprovalStatus;//审核状态(字典控制)1审核中2待审核3审核通过4审核不通过

    public String username;//用户名

//    @NotBlank(message = "专利负责人不能为空！")
//    @Length(min = 1, max = 20, message = "长度要在2到20之间")
    public String PatentAllAuthors;//专利负责人（联系人，专利权人）

//    @NotBlank(message = "学科领域不能为空！")
    public String Subjectarea;//学科领域（字典控制）

//    @NotBlank(message = "批准日期不能为空！")
//    @Length(min = 1, max = 20, message = "长度要在2到20之间")
    public String AccessTime; //批准日期

//    @NotBlank(message = "专利证书编号不能为空！")
//    @Length(min = 1, max = 20, message = "长度要在2到20之间")
    public String PatentCertificateNumber;//专利证书编号

//    @NotBlank(message = "法律状态不能为空！")
    public String Lawstatus;//法律状态（字典控制）

//    @NotBlank(message = "专利证书编号不能为空！")
//    @Length(min = 1, max = 20, message = "长度要在2到20之间")
    public String Paymoneydata;//缴纳年费日期;

    public int money;//缴纳金额；

//    @NotBlank(message = "专利分类号不能为空！")
//    @Length(min = 1, max = 20, message = "长度要在2到20之间")
    public String PatentClassificationNumber;//专利分类号

//    @NotBlank(message = "授权公告号不能为空！")
//    @Length(min = 1, max = 20, message = "长度要在2到20之间")
    public String AuthorizationProclamationNumber;//授权公告号

//    @NotBlank(message = "授权公告日期不能为空！")
//    @Length(min = 1, max = 20, message = "长度要在2到20之间")
    public String AuthorizationProclamationDate;//授权公告日期

//    @NotBlank(message = "申请名称不能为空！")
//    @Length(min = 1, max = 20, message = "长度要在2到20之间")
    public String AskName;//申请名称

//    @NotBlank(message = "代理单位不能为空！")
//    @Length(min = 1, max = 20, message = "长度要在2到20之间")
    public String AgencyUnit;//代理单位

//    @NotBlank(message = "专利终止日期不能为空！")
//    @Length(min = 1, max = 20, message = "长度要在2到20之间")
    public String DeadlineDate;//专利终止日期

//    @NotBlank(message = "所属项目编号不能为空！")
//    @Length(min = 1, max = 20, message = "长度要在2到20之间")
    public String ProgramNumber;//所属项目编号

//    @NotBlank(message = "所属地区,户籍不能为空！")
    public String Location;//所属地区,户籍（字典控制）！！！！！！

    public int isfinish;//是否结项//1进行2进行中3已结束
//

    public int Level;//专利等级
    //

    public Date StartTime;
    public Date EndTime;

    public Date getStartTime() {
        return StartTime;
    }

    public void setStartTime(Date startTime) {
        StartTime = startTime;
    }

    public Date getEndTime() {
        return EndTime;
    }

    public void setEndTime(Date endTime) {
        EndTime = endTime;
    }


    public int getLevel() {
        return Level;
    }

    public void setLevel(int level) {
        Level = level;
    }

    public void setSubjectarea(String subjectarea) {
        Subjectarea = subjectarea;
    }

    public int getIsfinish() {
        return isfinish;
    }

    public void setIsfinish(int isfinish) {
        this.isfinish = isfinish;
    }

    public String getSubjectarea() {
        return Subjectarea;
    }

    public void setSbjectarea(String subjectarea) {
        Subjectarea = subjectarea;
    }

    public String getAccessTime() {
        return AccessTime;
    }

    public void setAccessTime(String accessTime) {
        AccessTime = accessTime;
    }

    public String getPatentCertificateNumber() {
        return PatentCertificateNumber;
    }

    public void setPatentCertificateNumber(String patentCertificateNumber) {
        PatentCertificateNumber = patentCertificateNumber;
    }

    public String getLawstatus() {
        return Lawstatus;
    }

    public void setLawstatus(String lawstatus) {
        Lawstatus = lawstatus;
    }

    public String getPaymoneydata() {
        return Paymoneydata;
    }

    public void setPaymoneydata(String paymoneydata) {
        Paymoneydata = paymoneydata;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public String getPatentClassificationNumber() {
        return PatentClassificationNumber;
    }

    public void setPatentClassificationNumber(String patentClassificationNumber) {
        PatentClassificationNumber = patentClassificationNumber;
    }

    public String getAuthorizationProclamationNumber() {
        return AuthorizationProclamationNumber;
    }

    public void setAuthorizationProclamationNumber(String authorizationProclamationNumber) {
        AuthorizationProclamationNumber = authorizationProclamationNumber;
    }

    public String getAuthorizationProclamationDate() {
        return AuthorizationProclamationDate;
    }

    public void setAuthorizationProclamationDate(String authorizationProclamationDate) {
        AuthorizationProclamationDate = authorizationProclamationDate;
    }

    public String getAskName() {
        return AskName;
    }

    public void setAskName(String askName) {
        AskName = askName;
    }

    public String getAgencyUnit() {
        return AgencyUnit;
    }

    public void setAgencyUnit(String agencyUnit) {
        AgencyUnit = agencyUnit;
    }

    public String getDeadlineDate() {
        return DeadlineDate;
    }

    public void setDeadlineDate(String deadlineDate) {
        DeadlineDate = deadlineDate;
    }

    public String getProgramNumber() {
        return ProgramNumber;
    }

    public void setProgramNumber(String programNumber) {
        ProgramNumber = programNumber;
    }

    public String getLocation() {
        return Location;
    }

    public void setLocation(String location) {
        Location = location;
    }

    public String getPatentNumber() {
        return PatentNumber;
    }

    public void setPatentNumber(String patentNumber) {
        PatentNumber = patentNumber;
    }

    public String getPatentName() {
        return PatentName;
    }

    public void setPatentName(String patentName) {
        PatentName = patentName;
    }

    public String getPatentType() {
        return PatentType;
    }

    public void setPatentType(String patentType) {
        PatentType = patentType;
    }

    public String getPatentScope() {
        return PatentScope;
    }

    public void setPatentScope(String patentScope) {
        PatentScope = patentScope;
    }

    public String getPatentStatus() {
        return PatentStatus;
    }

    public void setPatentStatus(String patentStatus) {
        PatentStatus = patentStatus;
    }

    public String getPatentAttribution() {
        return PatentAttribution;
    }

    public void setPatentAttribution(String patentAttribution) {
        PatentAttribution = patentAttribution;
    }

    public Date getAskTime() {
        return AskTime;
    }

    public void setAskTime(Date askTime) {
        AskTime = askTime;
    }

    public String getAskNumber() {
        return AskNumber;
    }

    public void setAskNumber(String askNumber) {
        AskNumber = askNumber;
    }

    public int getApprovalStatus() {
        return ApprovalStatus;
    }

    public void setApprovalStatus(int approvalStatus) {
        ApprovalStatus = approvalStatus;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPatentAllAuthors() {
        return PatentAllAuthors;
    }

    public void setPatentAllAuthors(String patentAllAuthors) {
        PatentAllAuthors = patentAllAuthors;
    }

    public Patent() {
    }

    public Patent(String patentNumber, String patentName, String patentType, String patentScope, String patentStatus, String patentAttribution, Date askTime, String askNumber, int approvalStatus, String username, String patentAllAuthors) {
        PatentNumber = patentNumber;
        PatentName = patentName;
        PatentType = patentType;
        PatentScope = patentScope;
        PatentStatus = patentStatus;
        PatentAttribution = patentAttribution;
        AskTime = askTime;
        AskNumber = askNumber;
        ApprovalStatus = approvalStatus;
        this.username = username;
        PatentAllAuthors = patentAllAuthors;
    }

    public Patent(String patentNumber, String patentName, String patentType, String patentScope, String patentStatus, String patentAttribution, Date askTime, String askNumber, int approvalStatus, String username, String patentAllAuthors, String subjectarea, String accessTime, String patentCertificateNumber, String lawstatus, String paymoneydata, int money, String patentClassificationNumber, String authorizationProclamationNumber, String authorizationProclamationDate, String askName, String agencyUnit, String deadlineDate, String programNumber, String location) {
        PatentNumber = patentNumber;
        PatentName = patentName;
        PatentType = patentType;
        PatentScope = patentScope;
        PatentStatus = patentStatus;
        PatentAttribution = patentAttribution;
        AskTime = askTime;
        AskNumber = askNumber;
        ApprovalStatus = approvalStatus;
        this.username = username;
        PatentAllAuthors = patentAllAuthors;
        Subjectarea = subjectarea;
        AccessTime = accessTime;
        PatentCertificateNumber = patentCertificateNumber;
        Lawstatus = lawstatus;
        Paymoneydata = paymoneydata;
        this.money = money;
        PatentClassificationNumber = patentClassificationNumber;
        AuthorizationProclamationNumber = authorizationProclamationNumber;
        AuthorizationProclamationDate = authorizationProclamationDate;
        AskName = askName;
        AgencyUnit = agencyUnit;
        DeadlineDate = deadlineDate;
        ProgramNumber = programNumber;
        Location = location;
    }
}
